Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-574

‎AbstractCompilerMojo::execute should propagate exception cause

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.12.1
    • 3.13.0
    • None

    Description

      In ‎AbstractCompilerMojo::execute, errors caught from the compiler manager are swallowed, instead a new MojoExecutionException is thrown. This renders debugging root causes for problems with compiler DI scanning, injection and instantiation virtually impossible.

      The caught exception should be passed on as a cause for the new exception.

      laeubi, see our discussion here.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              kriegaex Alexander Kriegisch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: